import * as tslib_1 from "tslib";
import { Entity, NgField, NgEntity } from '@farris/devkit';
var YlfxEntity = /** @class */ (function (_super) {
    tslib_1.__extends(YlfxEntity, _super);
    function YlfxEntity() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    tslib_1.__decorate([
        NgField({
            originalDataField: 'ID',
            dataField: 'id',
            primary: true,
            originalDataFieldType: 'String',
            initValue: '',
            path: 'ID',
            validRules: [
                {
                    type: 'required',
                    constraints: [true],
                },
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], YlfxEntity.prototype, "id", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'ParentID',
            dataField: 'parentID',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'ParentID',
            validRules: [
                {
                    type: 'required',
                    constraints: [true],
                },
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], YlfxEntity.prototype, "parentID", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'mdyye',
            dataField: 'mdyye',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'mdyye',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], YlfxEntity.prototype, "mdyye", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'mdcb',
            dataField: 'mdcb',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'mdcb',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], YlfxEntity.prototype, "mdcb", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'mdlr',
            dataField: 'mdlr',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'mdlr',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], YlfxEntity.prototype, "mdlr", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'mdylr',
            dataField: 'mdylr',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'mdylr',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], YlfxEntity.prototype, "mdylr", void 0);
    tslib_1.__decorate([
        NgField({
            originalDataField: 'mdnlr',
            dataField: 'mdnlr',
            originalDataFieldType: 'String',
            initValue: '',
            path: 'mdnlr',
            validRules: [
                {
                    type: 'maxLength',
                    constraints: [36],
                    message: '最大长度为36',
                }
            ]
        }),
        tslib_1.__metadata("design:type", String)
    ], YlfxEntity.prototype, "mdnlr", void 0);
    YlfxEntity = tslib_1.__decorate([
        NgEntity({
            originalCode: "ylfx",
            nodeCode: "ylfxs"
        })
    ], YlfxEntity);
    return YlfxEntity;
}(Entity));
export { YlfxEntity };
